package com.example.test.agent.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "登陆数据传输模型")
public class LoginDTO implements Serializable {

    @ApiModelProperty(value = "账号")
    @NotNull(message = "不能为空")
    private String userCode;


    @ApiModelProperty(value = "密码")
    @NotNull(message = "不能为空")
    private String userPassword;

    @ApiModelProperty(value = "验证码")
    @NotNull(message = "不能为空")
    private String code;


}
